﻿using UnityEngine;
using System.Collections;
using FM_Mono;

[IgnoreGen]
public class RuntimeStaticBatch : MonoBehaviour {

	public GameObject[] batchRoots;

	void Awake()
	{
		int count = batchRoots != null ? batchRoots.Length : 0;
		for (int i = 0; i < count; ++i)
		{
			StaticBatchingUtility.Combine(batchRoots[i]);
		}
	}
}
